package operation;

import book.BookList;

public class Display implements IOperation{
    @Override
    public void work(BookList bookList) {
        System.out.println("display books");
        for (int i = 0; i < bookList.getBookNum(); i++) {
            System.out.println(bookList.getBook(i));
        }
    }
}
